scoreboard players add @a[tag=using_teleportDevice] teleportDeviceTime 1
execute as @a[scores={teleportDeviceTime=20..}] at @s run function vs:item/teleport_device/start_teleport